package service.impl;

import mapper.DrugMapper;
import model.Drug;
import org.springframework.stereotype.Service;
import service.DrugService;

import javax.annotation.Resource;
import java.util.List;

@Service
public class DrugServiceImpl implements DrugService {
    @Resource
    private DrugMapper mapper;


    @Override
    public List<Drug> findAll() {
        return mapper.findAll();
    }
}
